var report = Stimulsoft.Report.StiReport.createNewDashboard(); report.pages.clear(); var dashboard = new Stimulsoft.Dashboard.Components.StiDashboard(); report.pages.add(dashboard); var textElement = new Stimulsoft.Dashboard.Components.Text.StiTextElement(); textElement.left = 100; textElement.top = 100; textElement.width = 300; textElement.height = 100; textElement.text = "Sample Text"; textElement.backColor = Stimulsoft.System.Drawing.Color.lightGray; dashboard.components.add(textElement);